package com.yunxin.customui;

import com.yunxin.tools.autodbutil.annotation.ScanCustomConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

import static com.yunxin.customui.util.TableUtil.TableUtil_ap;

@SpringBootApplication(scanBasePackages = {"com.yunxin.customui","com.yunxin.tools.data"})

@EnableAspectJAutoProxy(exposeProxy = true)
@ScanCustomConfiguration(openAop = true,webPackage = true)
public class CustomUISystemApplication {

    public static void main(String[] args) {
        ApplicationContext ap = SpringApplication.run(CustomUISystemApplication.class, args);
        TableUtil_ap = ap;
    }



}
